import request from "@/utils/request";

// 获取列表
export const getList = (params) => request.get("/biz/enterprisePlan/list", { params });

// 新增
export const addItem = (data) => request.post("/biz/enterprisePlan", data);

// 编辑
export const editItem = (data) => request.put("/biz/enterprisePlan", data);

// 删除
export const delItem = (ids) => request.delete("/biz/enterprisePlan/" + ids);

// 详情
export const getDetail = (userId) => request.get("/biz/enterprisePlan/" + userId);